package es.juanc.io;

import java.io.File;

public class TestFiles {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		//System.out.println( TestFiles.class.getClassLoader() );
		//System.out.println( TestFiles.class.getResource( TestFiles.class.getc ) );
		
		File f = new File( "props.txt" );
		File pf = f.getParentFile();
		System.out.println( "file: " + f + ", parentFolder: " + pf );

		File file = new File( "", "props.jasper" );
		File parentFolder = file.getParentFile();
		System.out.println( "file: " + file + ", parentFolder: " + parentFolder );
	}
}
